﻿Partial Class PictureView
    Public Class PictureItem
        Inherits FileManagerItem

        Protected Friend PictureItem As BasePictureItem
        Public Property PictureView As PictureView

        Public Sub New()
            Me.PictureItem = New BasePictureItem(Me)
        End Sub

        Sub GetImage()
            If Me.PictureItem IsNot Nothing Then
                Me.PictureItem.LoadImage()
            End If
        End Sub

        ''' <summary>
        ''' 获取缩略图
        ''' </summary>
        ''' <remarks></remarks>
        Public Sub GetThumbnailImage()
            Me.PictureItem.LoadThumbnailImage()
        End Sub

        Sub Invalidate()
            Me.PictureItem.Invalidate()
        End Sub

    End Class
End Class
